package one.stand.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import one.stand.model.FollowRecordModel;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author Administrator
 */
@Data
@ApiModel("客户信息")
public class CustomerResponse implements Serializable {
    @ApiModelProperty("名片id")
    private Integer cardId;
    @ApiModelProperty("关系id")
    private Integer customerId;
    @ApiModelProperty("1:独占客户 2:共享客户 3:成单客户")
    private Integer customerState;
    @ApiModelProperty("总成交金额")
    private Integer turnoverAmount;


    @ApiModelProperty("客户名")
    private String name;
    @ApiModelProperty("客户电话")
    private String phone;
    @ApiModelProperty("客户头像")
    private String photo;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("所属公司名")
    private String companyName;
    @ApiModelProperty("用户id")
    private Long userId;
    @ApiModelProperty("数量")
    private Integer num;

    @ApiModelProperty("跟进描述")
    private String followRemark;
    @ApiModelProperty("跟进记录id")
    private Long recordId;
    @ApiModelProperty("跟进类型")
    private Integer followType;
    @ApiModelProperty("用户头像")
    private String userLogo;
    @ApiModelProperty("邮箱")
    private String email;
    @ApiModelProperty("微信号")
    private String personalWx;
    @ApiModelProperty("录入时间")
    private String inputDate;
    @ApiModelProperty("录入人")
    private String followName;
    @ApiModelProperty("客户标签")
    private List<CompanyCustomerLableResponse> responseList;

    @ApiModelProperty("最新一条跟进记录")
    private FollowRecordResponse recordResponse;
    @ApiModelProperty("客户公司名称")
    private String createCompanyName;
    private String lable;
}